package com.example.demo.service.Impl;

import com.example.demo.mapper.EducationMapper;
import com.example.demo.module.entity.Education;
import com.example.demo.service.EducationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class EducationServiceImpl implements EducationService {
    @Autowired
    private EducationMapper educationMapper;

    @Override
    public List<Education> findAll() throws Exception {
        return educationMapper.selectAll();
    }
}
